export interface ILoginRequestData {
  /** admin 或 editor */
  username: string
  /** 密码 */
  password: string
  /** 验证码 */
  code: string
  /**uuid */
  uuid: string
}

export type LoginCodeResponseData = IApiResponseData<string>
export type Info = IApiResponseData<string>

export type LoginResponseData = IApiResponseData<{ token: string }>

// export type UserInfoResponseData = IApiResponseData<{ user: object; role: object }>
